<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<link href="../../../static/pay/css/money_in.css" th:href="@{/pay/css/money_in.css}" rel="stylesheet"/>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-payShopSet-edit" th:object="${payShopSet}">
			<div class="form-group">
				<label class="col-sm-3 control-label">付款成功地址：</label>
				<div class="col-sm-8">
					<input id="pickupUrl" name="pickupUrl" th:field="*{pickupUrl}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">支付成功地址：</label>
				<div class="col-sm-8">
					<input id="receiveUrl" name="receiveUrl" th:field="*{receiveUrl}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">签名类型：</label>
				<div class="col-sm-8">
					<input id="signType" name="signType" th:field="*{signType}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">签名代码：</label>
				<div class="col-sm-8">
					<input id="signKey" name="signKey" th:field="*{signKey}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">请求参数：</label>
				<div class="col-sm-8">
					<input id="backParams" name="backParams" th:field="*{backParams}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">状态代码：</label>
				<div class="col-sm-8">
					<input id="backCode" name="backCode" th:field="*{backCode}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">成功代码值：</label>
				<div class="col-sm-8">
					<input id="backSuccCode" name="backSuccCode" th:field="*{backSuccCode}" class="form-control" type="text">
				</div>
			</div>

			<div class="form-group">
				<label class="col-sm-3 control-label"></label>
				<div class="col-sm-8">
					<div onclick="saveSetting()" class="btn-chujin" style="min-width:200px;margin-top:40px;margin-left:10%;width:80%;height: 40px;line-height: 40px; text-align: center">
						保存
					</div>
				</div>

			</div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		$("#form-payShopSet-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function saveSetting() {
	        if ($.validate.form()) {
	            $.operate.save(ctx + "aerchant/set_shop", $('#form-payShopSet-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
